package com.tfy.liquor.service;

import com.tfy.liquor.bean.MyPage;
import com.tfy.liquor.bean.UserPriseRecords;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public interface UserPriseRecordsService {
    /**
     * 添加数据
     * @param userPriseRecords
     * @return
     */
    Boolean addUserPriseRecords(UserPriseRecords userPriseRecords);

    /**
     * 获取流水记录
     * @param userPriseRecords
     * @return
     */
    MyPage getUserPriseRecords(Integer pageNum, Integer pageSize, UserPriseRecords userPriseRecords);
}
